package com.kantboot.business.ac.admin.controller;

import com.kantboot.business.ac.domain.dto.BusAcRechargeProductOfSearchDTO;
import com.kantboot.business.ac.domain.entity.BusAcRechargeProductPhone;
import com.kantboot.business.ac.service.IBusAcRechargeProductPhoneService;
import com.kantboot.util.common.result.RestResult;
import com.kantboot.util.core.controller.BaseAdminController;
import com.kantboot.util.core.param.PageParam;
import com.kantboot.util.core.result.PageResult;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/business-ac-web/admin/rechargeProductPhone")
public class BusAcRechargeProductPhoneControllerOfAdmin
extends BaseAdminController<BusAcRechargeProductPhone,Long>
{

    @Resource
    private IBusAcRechargeProductPhoneService service;

    @RequestMapping("/getBodyData")
    public RestResult<PageResult> getBodyData(@RequestBody PageParam<BusAcRechargeProductOfSearchDTO> pageParam) {
        return RestResult.success(service.getBodyData(pageParam),"getSuccess","获取成功");
    }


}
